﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AdminM.Master" AutoEventWireup="true" CodeBehind="TousuFankui.aspx.cs" Inherits="XqWebSite.WebForm27" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">


        .style6
    {
        width: 174px;
            background-color: #8F9B82;
        }
        .style9
        {
            height: 9px;
        background-color: #8F9B82;
            text-decoration: underline;
        }
    .style8
    {
        text-align: center;
        font-family: 华文隶书;
        font-size: larger;
            color: #A3BAA5;
            background-color: #DDDFDB;
        }
        .style10
        {
            width: 100%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="style1" style="height: 564px; width: 100%;">
        <tr>
            <td class="style6" rowspan="2">
                <asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1" 
                        StaticDisplayLevels="2" style="font-family: 楷体">
                </asp:Menu>
            </td>
            <td class="style9">
                <asp:SiteMapPath ID="SiteMapPath1" runat="server" style="font-family: 楷体" 
                    SiteMapProvider="AdminSiteMap">
                </asp:SiteMapPath>
            </td>
        </tr>
        <tr>
            <td class="style8">
                <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" 
                        SiteMapProvider="AdminSiteMap" />
                <table class="style10">
                    <tr>
                        <td style="color: #FFFFFF">
                            投诉反馈</td>
                    </tr>
                    <tr>
                        <td style="text-align: left">
                            投诉ID：<asp:TextBox ID="Tex_tsid" runat="server"></asp:TextBox>
                            &nbsp;<asp:Button ID="But_ss" runat="server" Text="搜索" onclick="But_ss_Click" />
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;请输入投诉ID:<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                            <asp:Button ID="But_sc" runat="server" Text="删除" Width="43px" 
                                onclick="But_sc_Click" />
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Button ID="But_xg" runat="server" Text="修改" onclick="But_xg_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                                AutoGenerateColumns="False" DataKeyNames="ID" 
                                Height="201px" Width="1331px">
                                <Columns>
                                    <asp:BoundField DataField="ID" HeaderText="投诉ID" InsertVisible="False" 
                                        ReadOnly="True" SortExpression="ID" />
                                    <asp:BoundField DataField="zhuhuID" HeaderText="投诉人ID" 
                                        SortExpression="zhuhuID" />
                                    <asp:BoundField DataField="Neirong" HeaderText="投诉内容" 
                                        SortExpression="Neirong" />
                                    <asp:BoundField DataField="named" HeaderText="被投诉人姓名" SortExpression="named" />
                                    <asp:BoundField DataField="AdminID" HeaderText="审批人ID" 
                                        SortExpression="AdminID" />
                                    <asp:BoundField DataField="FankuiJieGuo" HeaderText="反馈结果" 
                                        SortExpression="FankuiJieGuo" />
                                    <asp:BoundField DataField="FankuiShijian" HeaderText="反馈时间" 
                                        SortExpression="FankuiShijian" />
                                    <asp:BoundField DataField="FankuiRen" HeaderText="反馈人" 
                                        SortExpression="FankuiRen" />
                                </Columns>
                            </asp:GridView>
                            <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                                ConnectionString="<%$ ConnectionStrings:WuYeGuanLiConnectionString %>" 
                                DeleteCommand="DELETE FROM [Toushu] WHERE [ID] = @ID" 
                                InsertCommand="INSERT INTO [Toushu] ([Neirong], [named], [FankuiJieGuo], [FankuiShijian], [FankuiRen], [AdminID], [zhuhuID]) VALUES (@Neirong, @named, @FankuiJieGuo, @FankuiShijian, @FankuiRen, @AdminID, @zhuhuID)" 
                                SelectCommand="SELECT [ID], [Neirong], [named], [FankuiJieGuo], [FankuiShijian], [FankuiRen], [AdminID], [zhuhuID] FROM [Toushu]" 
                                UpdateCommand="UPDATE [Toushu] SET [Neirong] = @Neirong, [named] = @named, [FankuiJieGuo] = @FankuiJieGuo, [FankuiShijian] = @FankuiShijian, [FankuiRen] = @FankuiRen, [AdminID] = @AdminID, [zhuhuID] = @zhuhuID WHERE [ID] = @ID">
                                <DeleteParameters>
                                    <asp:Parameter Name="ID" Type="Int64" />
                                </DeleteParameters>
                                <InsertParameters>
                                    <asp:Parameter Name="Neirong" Type="String" />
                                    <asp:Parameter Name="named" Type="String" />
                                    <asp:Parameter Name="FankuiJieGuo" Type="String" />
                                    <asp:Parameter Name="FankuiShijian" Type="String" />
                                    <asp:Parameter Name="FankuiRen" Type="String" />
                                    <asp:Parameter Name="AdminID" Type="Int64" />
                                    <asp:Parameter Name="zhuhuID" Type="Int64" />
                                </InsertParameters>
                                <UpdateParameters>
                                    <asp:Parameter Name="Neirong" Type="String" />
                                    <asp:Parameter Name="named" Type="String" />
                                    <asp:Parameter Name="FankuiJieGuo" Type="String" />
                                    <asp:Parameter Name="FankuiShijian" Type="String" />
                                    <asp:Parameter Name="FankuiRen" Type="String" />
                                    <asp:Parameter Name="AdminID" Type="Int64" />
                                    <asp:Parameter Name="zhuhuID" Type="Int64" />
                                    <asp:Parameter Name="ID" Type="Int64" />
                                </UpdateParameters>
                            </asp:SqlDataSource>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
